package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.PrivateMassage;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

public interface IPrivateMassageService {
    PageInfo<?> query(QueryObject qo);

    void changeState(Long id,boolean state);

    void save(PrivateMassage pm);

    int queryMessageCount(Long id, int state);
}
